package com.question.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "records")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Records implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    private Integer uid;
    private Integer qid;
    private Date createtime;
    private String answer;
}
